package ui.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.fy.fyzf.R;
import com.fy.fyzf.bean.HousingFllowListBean;

import java.util.List;

public class HousingFllowListAdapter extends BaseQuickAdapter<HousingFllowListBean.ListBean, BaseViewHolder> {

    public HousingFllowListAdapter() {
        super(R.layout.item_housing_fllow);
    }

    @Override
    protected void convert(BaseViewHolder helper, HousingFllowListBean.ListBean item) {
        helper.setText(R.id.tv_staff_name,"员工姓名："+ item.getUserName() == null ? "": item.getUserName())
                .setText(R.id.tv_follow_time, "跟进时间："+item.getFollowTime())
                .setText(R.id.tv_follow_content, "跟进内容："+item.getFollowRemark());
    }
}
